DeviceConfig


Configuration
Protobuf type meshtastic.Config.DeviceConfig

Types

Link copied to clipboard
class Builder : GeneratedMessage.Builder<BuilderT> , ConfigProtos.Config.DeviceConfigOrBuilder

Configuration
Protobuf type meshtastic.Config.DeviceConfig
Link copied to clipboard
enum BuzzerMode : ProtocolMessageEnum

Defines buzzer behavior for audio feedback
Protobuf enum meshtastic.Config.DeviceConfig.BuzzerMode
Link copied to clipboard
enum RebroadcastMode : ProtocolMessageEnum

Defines the device's behavior for how messages are rebroadcast
Protobuf enum meshtastic.Config.DeviceConfig.RebroadcastMode
Link copied to clipboard
enum Role : ProtocolMessageEnum

Defines the device's role on the Mesh network
Protobuf enum meshtastic.Config.DeviceConfig.Role

Properties

Functions

Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
open fun getButtonGpio(): Int

For boards without a hard wired button, this is the pin number that will be used
Boards that have more than one button can swap the function with this one. defaults to BUTTON_PIN if defined.
uint32 button_gpio = 4;
Link copied to clipboard
open fun getBuzzerGpio(): Int

For boards without a PWM buzzer, this is the pin number that will be used
Defaults to PIN_BUZZER if defined.
uint32 buzzer_gpio = 5;
Link copied to clipboard

Controls buzzer behavior for audio feedback
Defaults to ENABLED
.meshtastic.Config.DeviceConfig.BuzzerMode buzzer_mode = 13;
Link copied to clipboard

Controls buzzer behavior for audio feedback
Defaults to ENABLED
.meshtastic.Config.DeviceConfig.BuzzerMode buzzer_mode = 13;
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard

Disables the triple-press of user button to enable or disable GPS
bool disable_triple_click = 10;
Link copied to clipboard

Treat double tap interrupt on supported accelerometers as a button press if set to true
bool double_tap_as_button_press = 8;
Link copied to clipboard
open fun getIsManaged(): Boolean

If true, device is considered to be "managed" by a mesh administrator
Clients should then limit available configuration and administrative options inside the user interface
Moved to SecurityConfig
bool is_managed = 9 [deprecated = true];
Link copied to clipboard

If true, disable the default blinking LED (LED_PIN) behavior on the device
bool led_heartbeat_disabled = 12;
Link copied to clipboard

Send our nodeinfo this often
Defaults to 900 Seconds (15 minutes)
uint32 node_info_broadcast_secs = 7;
Link copied to clipboard
Link copied to clipboard

Sets the role of node
.meshtastic.Config.DeviceConfig.RebroadcastMode rebroadcast_mode = 6;
Link copied to clipboard

Sets the role of node
.meshtastic.Config.DeviceConfig.RebroadcastMode rebroadcast_mode = 6;
Link copied to clipboard

Sets the role of node
.meshtastic.Config.DeviceConfig.Role role = 1;
Link copied to clipboard
open fun getRoleValue(): Int

Sets the role of node
.meshtastic.Config.DeviceConfig.Role role = 1;
Link copied to clipboard

Disabling this will disable the SerialConsole by not initilizing the StreamAPI
Moved to SecurityConfig
bool serial_enabled = 2 [deprecated = true];
Link copied to clipboard
Link copied to clipboard
open fun getTzdef(): String

POSIX Timezone definition string from https://github.com/nayarsystems/posix_tz_db/blob/master/zones.csv.
string tzdef = 11;
Link copied to clipboard
open fun getTzdefBytes(): ByteString

POSIX Timezone definition string from https://github.com/nayarsystems/posix_tz_db/blob/master/zones.csv.
string tzdef = 11;
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): ConfigProtos.Config.DeviceConfig
Link copied to clipboard
open fun parseFrom(data: ByteString): ConfigProtos.Config.DeviceConfig
open fun parseFrom(input: CodedInputStream): ConfigProtos.Config.DeviceConfig
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): ConfigProtos.Config.DeviceConfig
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): ConfigProtos.Config.DeviceConfig
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): ConfigProtos.Config.DeviceConfig
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): ConfigProtos.Config.DeviceConfig
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): ConfigProtos.Config.DeviceConfig
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun writeTo(output: CodedOutputStream)